#!/bin/bash

if [ "$1" == "clean" ]; then
    echo "Removing build directory..."
    rm -rf build
fi

mkdir -p build

cd build

cmake ..
make
./rc_demo
